<ul> 

<?php 

if(models\Current_user::get_user()){ 

	echo $this->links->dashboard_link('dashboard','Dashboard');

	switch(models\Current_user::get_kategori()){
		
	    case 'Administrator': 
			echo $this->links->dashboard_link('kunjungan','Kunjungan');
			echo $this->links->dashboard_link('customer','Customer');
			echo $this->links->dashboard_link('teknisi','Teknisi');
			echo $this->links->dashboard_link('agen','Agen');
			echo $this->links->dashboard_link('speedy','Speedy');
		break;

	    case 'Teknisi':
			echo $this->links->dashboard_link('kunjungan','Kunjungan');
			echo $this->links->dashboard_link('customer','Customer');
		break;

	    case 'Agen':
			echo $this->links->dashboard_link('kunjungan','Kunjungan');
			echo $this->links->dashboard_link('customer','Customer');
			echo $this->links->dashboard_link('teknisi','Teknisi');
			echo $this->links->dashboard_link('speedy','Speedy');
		break;

		case 'Customer':
		case 'Perusahaan':
			echo $this->links->dashboard_link('kunjungan','Kunjungan');
		break;

    }
	//echo $this->links->dashboard_link('config','Configuration');
} 

?>

</ul>
